package com.cloud.pole.user.biz.account;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ace.cache.annotation.Cache;
import com.cloud.pole.common.biz.BaseBiz;
import com.cloud.pole.mapper.account.UserAccountDetailTypeMapper;
import com.cloud.pole.user.model.entity.account.UserAccountDetailType;
import com.cloud.pole.user.model.entity.account.UserAccountType;

/**
 * ${DESCRIPTION}
 *
 * @author wanghaobin
 * @create 2017-06-08 16:23
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class UserAccountDetailTypeBiz extends BaseBiz<UserAccountDetailTypeMapper, UserAccountDetailType> {
	
    @Cache(key="userAccountDetailType{1}")
    public UserAccountDetailType selectByDetailTypeId(Integer id) {
        return mapper.selectByPrimaryKey(id);
    }
}
